include $(top_srcdir)/src/plugins/Makefile.plugins

plugindir = $(PLUGINDIR)/screenshot
plugin_LTLIBRARIES = libscreenshot.la

plugin_in_files = screenshot.plugin.in

uidir = $(plugindir)
ui_DATA = gallery.ui
EXTRA_DIST += $(ui_DATA)

libscreenshot_la_SOURCES = \
	xplayer-screenshot-plugin.c	\
	xplayer-screenshot-plugin.h	\
	screenshot-filename-builder.c	\
	screenshot-filename-builder.h	\
	xplayer-gallery.c			\
	xplayer-gallery.h			\
	xplayer-gallery-progress.c	\
	xplayer-gallery-progress.h
libscreenshot_la_LDFLAGS = $(plugin_ldflags)
libscreenshot_la_CFLAGS = $(plugin_cflags) -Wno-format-nonliteral
libscreenshot_la_LIBADD = $(plugin_libadd)

-include $(top_srcdir)/git.mk
